Co-Expressions in Icon

نویسندگان

  • Stephen B. Wampler
  • Ralph E. Griswold
چکیده

1. Introduction Icon is a high-level programming language that features facilities for string and list processing. In addition to these facilities, it has expressions, called generators, that are capable of producing sequences of results. A goal-directed evaluation mechanism automatically produces the results of generators in an attempt to produce 'successful' computations. Generators and goal-directed evaluation make it possible to formulate concise, natural solutions for many programming problems.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Programming in Icon ; Part II — Programming with Co - Expressions

1. Introduction This report is the second in a series that deals with various aspects of programming in Icon. The first report [1] dealt with generators. Co-expressions are the topic of this second report for two reasons: (1) they derive their utility from generators, and (2) they seem to present more problems to programmers than other features of Icon. The first two parts of this report treat ...

متن کامل

New Control Structures in Icon*

1. Introduction Expressions in Icon [7] are capable of generating sequences of results during the course of their evaluation. For this reason, expressions in Icon are often referred to as generators. The primary control mechanism that exploits generators is goal-directed evaluation [12], which provides control backtracking [8]. This paper describes additional control mechanisms that have been a...

متن کامل

An Overview of the Icon Programming Language ; Version 9

Icon is a high-level programming language with extensive facilities for processing strings and structures. Icon has several novel features, including expressions that may produce sequences of results, goal-directed evaluation that automatically searches for a successful result, and string scanning that allows operations on strings to be formulated at a high conceptual level. Icon also provides ...

متن کامل

In-Depth Coverage of the Icon Programming Language

10. Avoid long lines. Instead, continue expressions on as many lines as are needed for easy readability. See the first two issues of The Icon Analyst for the proper techniques for breaking lines. Similarly, continue long string and cset literals on several lines if that’s necessary to make them readable. See Appendix A of the second edition of The Icon Programming Language for the method of con...

متن کامل

A new implementation of the Icon language

We describe Jcon, a new, Java-based implementation of the Icon programming language. The implementation includes a compiler and runtime system. The runtime system is novel in its concise and efficient object-oriented implementation of a dynamically typed language, as well as its simple mechanism for realizing Icon generators.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Comput. J.

دوره 26  شماره 

صفحات  -

تاریخ انتشار 1983